<!DOCTYPE html>
<html>
<head>
    <meta charset="UTF-8">
    <title>Mobai's Mysteries - Q6</title>
    <meta http-equiv="X-UA-Compatible" content="chrome=1">
    <meta name="apple-mobile-web-app-capable" content="yes">
    <meta name="apple-mobile-web-app-status-bar-style" content="black">
    <meta name="viewport" content="width=device-width; initial-scale=1.0; minimum-scale=1.0; maximum-scale=1.0; user-scalable=no;">
    <script src="https://shimobai.netlify.app/js/useragents.js" type="text/javascript"></script>
    <script type="text/javascript" src="https://shimobai.netlify.app/js/base64.js"></script>
	<script crossorigin="anonymous" integrity="sha512-WNLxfP/8cVYL9sj8Jnp6et0BkubLP31jhTG9vhL/F5uEZmg5wEzKoXp1kJslzPQWwPT1eyMiSxlKCgzHLOTOTQ==" src="https://lib.baomitu.com/jquery/3.5.1/jquery.js"></script>
    <link rel="stylesheet" href="https://shimobai.netlify.app/css/style.css">
</head>
<body>
    <div class="panel">
        <div class="btn-container">
			<h1><font color="#FFFFFF">Authentication required!</font></h1>
            <input id="inputbox" type="text" placeholder="验证码">
            <div class="btn">验证</div>
            <div id="img" style="display: none;">
                <img src="https://s3.ax1x.com/2021/02/03/yMCKKJ.png" alt="">
            </div>
        </div>
    </div>
    <script>
		var b = new Base64();
		var txt = b.decode("c2hpMm1vMGJhaTJ5YTE=");
        $(document).ready(function () {
            $('.btn').on('click', function () {
                var intext = $('#inputbox').val();
                if (intext == txt) {
					alert('验证码正确！');
                    if (img.style.display == 'none') {
                        img.style.display = '';
                    }
                } else {
                    alert('嗯？验证码不对哦！');
                }
            });
        });
    </script>
</body>
</html>
